package com.jy.project.domain;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Table(name = "apply_stock_return")
@Data
public class ApplyStockReturn implements Serializable {

    private Long id;

    @Column(name = "apply_no")
    private String applyNo;

    @Column(name = "material_no")
    private String materialNo;

    @Column(name = "material_name")
    private String materialName;

    private String name;

    @Column(name = "apply_type")
    private Integer applyType;

    @Column(name = "applicant_company_no")
    private String applicantCompanyNo;

    @Column(name = "applicant_company_name")
    private String applicantCompanyName;

    @Column(name = "applicant_dept_no")
    private String applicantDeptNo;

    @Column(name = "applicant_dept_name")
    private String applicantDeptName;

    @Column(name = "use_dept_no")
    private String useDeptNo;

    @Column(name = "use_dept_name")
    private String useDeptName;

    @Column(name = "use_user_id")
    private Long useUserId;

    @Column(name = "use_nick_name")
    private String useNickName;

    private String ext;

    private String remarks;

    @Column(name = "applicant_user_id")
    private Long applicantUserId;

    @Column(name = "applicant_user_nick_name")
    private String applicantUserNickName;

    @Column(name = "use_company_no")
    private String useCompanyNo;

    @Column(name = "use_company_name")
    private String useCompanyName;

    @Column(name = "return_user_id")
    private Long returnUserId;

    @Column(name = "return_user_name")
    private String returnUserName;

    private String img;

    @Column(name = "storage_location")
    private String storageLocation;

    @Column(name = "business_date")
    private Date businessDate;

    @Column(name = "business_company_no")
    private String businessCompanyNo;

    @Column(name = "business_company_name")
    private String businessCompanyName;

    @Column(name = "management_company_no")
    private String managementCompanyNo;

    @Column(name = "management_company_name")
    private String managementCompanyName;

    @Column(name = "management_dept_no")
    private String managementDeptNo;

    @Column(name = "management_dept_name")
    private String managementDeptName;

    @Column(name = "management_user_id")
    private Long managementUserId;

    @Column(name = "management_nick_name")
    private String managementNickName;

    @Column(name = "regin_no")
    private String reginNo;

    @Column(name = "regin_name")
    private String reginName;

    @Column(name = "update_day")
    private Date updateDay;

    @Column(name = "create_at")
    private Date createAt;

    @Column(name = "update_at")
    private Date updateAt;

    @Column(name = "is_delete")
    private Integer isDelete;

    private Integer status;

    private static final long serialVersionUID = 1L;



}